import 'package:study_online/global/global.dart';

Future getTestListById(int couId,) async {
  return await Global.getInstance().dio.get(
    "/test/paper",
    queryParameters: {
      "couId": couId,
    },
  );
}

Future insertRemark(int score,int couId,String stuId,String content,int a,int b,int c,int d,int e) async {
  return await Global.getInstance().dio.post(
    "/cou/addRemark",
    queryParameters: {
      "score": score,
      "couId": couId,
      "stuId": stuId,
      "content": content,
      "a": a,
      "b": b,
      "c": c,
      "d": d,
      "e": e,
    },
  );
}
